﻿@{
    Layout = null;
    HttpCookie cookie = Request.Cookies["u000"];
    HttpCookie nameIdentityCookie = Request.Cookies["name"];
    if (cookie != null)
    {
        cookie.Expires = System.DateTime.Now.AddDays(-1);
        Response.Cookies.Set(cookie);
    }
    if (nameIdentityCookie != null)
    {
        nameIdentityCookie.Expires = System.DateTime.Now.AddDays(-1);
        Response.Cookies.Set(nameIdentityCookie);
    }
}
<html>
    <head><title>注销</title></head>
    <body onload="top.location.href ='@ViewData["callback"]'"></body>
</html>
